CFLAGS	= -D__STDC_CONSTANT_MACROS -fPIC
LDFLAGS	= -shared -lavformat -lavutil -lavcodec

install: ffmpeg_info
	cp ffmpeg_info.mexa64 ../

ffmpeg_info: ffmpeg_info.cpp
	mex CXXFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' $<
